<?php echo validation_errors(); ?>
<?php echo form_open('users/create') ?>
<table>
    <tr>
        <td>Name:*</td>
        <td><?php echo form_input('name') ?></td>
    </tr>
    <tr>
        <td>Username:*</td>
        <td><?php echo form_input('username') ?></td>
    </tr>
    <tr>
        <td>Email:*</td>
        <td><?php echo form_input('email') ?></td>
    </tr>
    <tr>
        <td>Password:*</td>
        <td><?php echo form_password('password') ?></td>
    </tr>
    <tr>
        <td>Verify Password:*</td>
        <td><?php echo form_password('verify_password') ?></td>
    </tr>
    <tr>
        <td>Last name:</td>
        <td><?php echo form_input('last_name') ?></td>
    </tr>
    <tr>
        <td>User level:</td>
        <td>
            <?php
            $options = array(
                '1' => 'User',
                '2' => 'Admin',
            );
            echo form_dropdown('user_level', $options);
            ?>
        </td>
    </tr>
    <tr>
        <td><?php echo form_submit('submit', 'Create', "class = 'button'") ?></td>
    </tr>
</table>

<?php echo form_close() ?>
